<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>五彩导航栏（ZLX）</title>
    <style>
        a {
            display: inline-block;
            width: 120px;
            height: 58px;
            color: white;
            background-color: pink;
            text-decoration: none;
            text-align: center;
            font: 16px/48px 'Microsoft yahei';
        }
        .bg1 {
            background: transparent url(images/bg1.png) no-repeat scroll;
        }
        .bg2 {
            background: transparent url(images/bg2.png) no-repeat scroll;
        }
        .bg3 {
            background: transparent url(images/bg3.png) no-repeat scroll;
        }
        .bg4 {
            background: transparent url(images/bg4.png) no-repeat scroll;
        }
        .bg1:hover {
            background: transparent url(images/bg5.png) no-repeat scroll;
        }
        .bg2:hover {
            background: transparent url(images/bg11.png) no-repeat scroll;
        }
        .bg3:hover {
            background: transparent url(images/bg3.jpg) no-repeat scroll;
        }
        .bg4:hover {
            background: transparent url(images/bg22.png) no-repeat scroll;
        }
    </style>
</head>
<body>
    <div>
        <a href="#" class="bg1">五彩导航</a>
        <a href="#" class="bg2">五彩导航</a>
        <a href="#" class="bg3">五彩导航</a>
        <a href="#" class="bg4">五彩导航</a>
</body>
</html>